package com.yang.service;

import com.yang.pojo.Archives;

import java.util.List;

/**
 * @Author 杨天可
 * @Date 2021/3/12 9:21
 * @Version 1.0
 */
public interface ArchivesService {
    //根据用户id查找用户详细信息
    Archives getArchivesByUserId(Integer id);

    int sava(Archives archives);

    int update(Archives archives);

    List<Archives> getArchivesList();

    int deleteById(Integer id);

    int deleteByyUserId(Integer userId);
}
